<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
<script>
function show1(a,b,...args) {
	alert(args);
}
function show2(a,b,c) {
	alert(a);
	alert(b);
	alert(c);
}
let arr = [1,2,3]
show2(...arr);
</script>
</body>
</html>